<?php
// +----------------------------------------------------------------------
// | ThinkCMF [ WE CAN DO IT MORE SIMPLE ]
// +----------------------------------------------------------------------
// | Copyright (c) 2013-2017 http://www.thinkcmf.com All rights reserved.
// +----------------------------------------------------------------------
// | Author: Dean <zxxjjforever@163.com>
// +----------------------------------------------------------------------
// API 模板文件，可以复制
namespace api\resource\controller;

use think\Db;
use think\Request;
use think\Validate;
use cmf\controller\RestBaseController;

class Biao26Controller extends RestBaseController
{


    public function one($data)
    {

        //查 这个表的数据
        @$new_data = $data[0]['content'];
        if (empty($new_data)) {
            return '';
        }

       $html = '
       <div style="width: 650px;margin: 0 auto;">
            <div style="font-size: 16px;font-weight: 600;margin-bottom: 15px;">四、申报单位近年知识产权、科研、人员等状况</div>
            <table border="1" cellspacing="0px" cellpadding="5px" width="650">
                <tbody>
                <tr>
                    <td rowspan="3">2015-2017年获得知识产权（件）</td>
                    <td rowspan="2">专利申请总数</td>
                    <td rowspan="2">专利授权总数</td>
                    <td colspan="2">其中发明</td>
                    <td colspan="2">其中实用新型</td>
                    <td colspan="2">其他</td>
                </tr>
                <tr>
                    <td>申请</td>
                    <td>授权</td>
                    <td>申请</td>
                    <td>授权</td>
                    <td>申请</td>
                    <td>授权</td>
                </tr>
                <tr>
                    <td>'.@$new_data->text1.'</td>
                    <td>'.@$new_data->text2.'</td>
                    <td>'.@$new_data->text3.'</td>
                    <td>'.@$new_data->text4.'</td>
                    <td>'.@$new_data->text5.'</td>
                    <td>'.@$new_data->text6.'</td>
                    <td>'.@$new_data->text7.'</td>
                    <td>'.@$new_data->text8.'</td>
                </tr>
                <tr>
                    <td rowspan="16">2015-2017年高新技术产品</td>
                    <td colspan="3">产品名称</td>
                    <td colspan="5">产值（万元）</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text9.'</td>
                    <td colspan="5">'.@$new_data->text10.'</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text11.'</td>
                    <td colspan="5">'.@$new_data->text12.'</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text13.'</td>
                    <td colspan="5">'.@$new_data->text14.'</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text15.'</td>
                    <td colspan="5">'.@$new_data->text16.'</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text17.'</td>
                    <td colspan="5">'.@$new_data->text18.'</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text19.'</td>
                    <td colspan="5">'.@$new_data->text20.'</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text21.'</td>
                    <td colspan="5">'.@$new_data->text22.'</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text23.'</td>
                    <td colspan="5">'.@$new_data->text24.'</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text25.'</td>
                    <td colspan="5">'.@$new_data->text26.'</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text27.'</td>
                    <td colspan="5">'.@$new_data->text28.'</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text29.'</td>
                    <td colspan="5">'.@$new_data->text30.'</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text31.'</td>
                    <td colspan="5">'.@$new_data->text32.'</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text33.'</td>
                    <td colspan="5">'.@$new_data->text34.'</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text35.'</td>
                    <td colspan="5">'.@$new_data->text36.'</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text37.'</td>
                    <td colspan="5">'.@$new_data->text38.'</td>
                </tr>
                <tr>
                    <td rowspan="16">企业研发机构</td>
                    <td colspan="3">企业研发机构名称</td>
                    <td colspan="5">企业研发机构等级</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text39.'</td>
                    <td colspan="5">'.@$new_data->text40.'</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text41.'</td>
                    <td colspan="5">'.@$new_data->text42.'</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text43.'</td>
                    <td colspan="5">'.@$new_data->text44.'</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text45.'</td>
                    <td colspan="5">'.@$new_data->text46.'</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text47.'</td>
                    <td colspan="5">'.@$new_data->text48.'</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text49.'</td>
                    <td colspan="5">'.@$new_data->text50.'</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text51.'</td>
                    <td colspan="5">'.@$new_data->text52.'</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text53.'</td>
                    <td colspan="5">'.@$new_data->text54.'</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text55.'</td>
                    <td colspan="5">'.@$new_data->text56.'</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text57.'</td>
                    <td colspan="5">'.@$new_data->text58.'</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text59.'</td>
                    <td colspan="5">'.@$new_data->text60.'</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text61.'</td>
                    <td colspan="5">'.@$new_data->text62.'</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text63.'</td>
                    <td colspan="5">'.@$new_data->text64.'</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text65.'</td>
                    <td colspan="5">'.@$new_data->text66.'</td>
                </tr>
                <tr>
                    <td colspan="3">'.@$new_data->text67.'</td>
                    <td colspan="5">'.@$new_data->text68.'</td>
                </tr>
                <tr>
                    <td>通过认定或认证情况</td>
                    <td colspan="8">'.@$new_data->text69.'</td>
                </tr>
                <tr>
                    <td rowspan="2">人员情况</td>
                    <td>职工总数</td>
                    <td colspan="2">'.@$new_data->text70.'</td>
                    <td>专业技术人员数</td>
                    <td colspan="4">'.@$new_data->text71.'</td>
                </tr>
                <tr>
                    <td>其中：高级职称</td>
                    <td colspan="2">'.@$new_data->text72.'</td>
                    <td>中级职称</td>
                    <td colspan="4">'.@$new_data->text73.'</td>
                </tr>
                <tr>
                    <td>其它有关情况说明</td>
                    <td colspan="8">'.@$new_data->text74.'</td>
                </tr>
                </tbody>
            </table>
        </div>
        ';

            return $html;

    }



}
